
import bean.LoaiHang;
import bean.NhaCungCap;
import java.util.List;
import dal.QuanAoDAL;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author HoangNam
 */
public class Test {

    public static void main(String[] args) {
        QuanAoDAL d = new QuanAoDAL();

//        LoaiHang lh = new LoaiHang();
//        lh.setGhiChu("anh yeu em");
//        lh.setQuyCach(1);
//        lh.setTenLoai("quan viet tien");
//        lh.setTrangThai(1);
//        
//        
//        d.insert(lh);
        
//        LoaiHang lh2 = (LoaiHang) d.getByID(1, new LoaiHang());
//        System.out.println(lh2.getLoaiHangId());
        
        
    }
}
